<fieldset class="layui-elem-field layui-field-title">
<legend>税务信息</legend>
<table class='wst-form wst-box-top'>
  <tr>
      <th width='150'>纳税人类型：</th>
      <td>
          <select id='taxpayerType' class='ipt'>
             {volist name=":WSTDatas('TAXPAYER_TYPE')" id='vo'}
             <option value='{$vo["dataVal"]}' {if $object['taxpayerType']==$vo["dataVal"]}selected{/if}>{$vo["dataName"]}</option>
             {/volist}
          </select>
      </td>
  </tr>
  <tr>
      <th valign="top">纳税人识别号：</th>
      <td><input type='text' id='taxpayerNo' class='ipt' value='{$object["taxpayerNo"]}'/><br/><span style='color:gray;'>三证合一的请填写统一社会信用代码</span></td>
  </tr>
  <tr>
      <th valign="top">税务登记证电子版：</th>
      <td>
            <span style='color:gray;'>请同时上传国税、地税的税务登记证，两者缺一不可，复印件加盖公司红章，如贵司所在地区已推行“三证合一”;<br/>此处请上传营业执照副本电子版。【最多只能上传三张图片】</span><br/>
            <input type='hidden' id='taxRegistrationCertificateImg' class='ipt' value='{$object["taxRegistrationCertificateImg"]}'/>
            <div id='taxRegistrationCertificateImgPicker'>请上传组织机构代码证电子版</div>
            <span id='taxRegistrationCertificateImgMsg'></span>
            <div id='taxRegistrationCertificateImgBox'></div>
            <span class='msg-box' id='msg_taxRegistrationCertificateImg'>
              {volist name="$object['taxRegistrationCertificateImgVO']" id='vo'}
              <div style="width:75px;float:left;margin-right:5px;">
                <a href='__RESOURCE_PATH__/{$vo}' target='_blank'>
                <img class="step_pic" width="75" height="75" src="__RESOURCE_PATH__/{$vo}" v="{$vo}">
                </a>
                <div style="position:relative;top:-80px;left:60px;cursor:pointer;" onclick='javascript:delVO(this)'>
                  <img src="__ROOT__/wstmart/home/View/default/img/seller_icon_error.png">
                </div>
              </div>
              {/volist}
            </span>
      </td>
  </tr>
  <tr>
      <th valign="top">一般纳税人资格证电子版：</th>
      <td>
          <span style='color:gray;'>三证合一地区请上传税务局网站上一般纳税人截图，复印件需加盖公司红章。</span><br/>
          <input type='hidden' id='taxpayerQualificationImg' class='ipt' value='{$object["taxpayerQualificationImg"]}'/>
          <div id='taxpayerQualificationImgPicker'>请上传法人证件电子版</div>
          <span id='taxpayerQualificationImgMsg'></span>
          <a id='taxpayerQualificationImgPreview_a' href='__RESOURCE_PATH__/{$object["taxpayerQualificationImg"]}' target='_blank'>
          <img id='taxpayerQualificationImgPreview' src='__RESOURCE_PATH__/{$object["taxpayerQualificationImg"]}' {if $object["taxpayerQualificationImg"]==''}style='display:none'{/if} width='150'>
          </a>
      </td>
  </tr>
  </table>
</fieldset>
<fieldset class="layui-elem-field layui-field-title">
<legend>结算账号信息</legend>
<table class='wst-form wst-box-top'>
  <tr>
      <th width='150'>银行开户名<font color='red'>*</font>：</th>
      <td>
            <input type='text' id='bankUserName' maxlength='50' class='ipt' data-rule='银行开户名:required;' value='{$object["bankUserName"]}'/>
      </td>
  </tr>
  <tr>
      <th>对公结算银行账号<font color='red'>*</font>：</th>
      <td>
            <input type='text' id='bankNo' class='ipt' maxlength='20'  data-rule='对公结算银行账号:required;' value='{$object["bankNo"]}'/>
      </td>
  </tr>
  <tr>
      <th>开户银行名称<font color='red'>*</font>：</th>
      <td>
          <select id='bankId' id='bankId' class='ipt' data-rule='对公结算银行账号:required;'>
              {foreach $bankList as $v}
              <option value="{$v['bankId']}" {if $object['bankId']==$v['bankId']}selected{/if}>{$v['bankName']}</option>
              {/foreach}
          </select>
      </td>
  </tr>
  <tr>
      <th>开户银行支行所在地<font color='red'>*</font>：</th>
      <td>
          <select id="barea_0" class='j-bareas' level="0" onchange="WST.ITAreas({id:'barea_0',val:this.value,isRequire:true,className:'j-bareas'});">
            <option value="">-请选择-</option>
            {foreach $areaList as $v}
              <option value="{$v['areaId']}">{$v['areaName']}</option>
            {/foreach}
          </select>
      </td>
  </tr>
  <tr>
      <td colspan='2' align='center'>
      	<button type="button"  class='btn btn-primary btn-mright' onclick="javascript:save({$p},'{$src}')"><i class="fa fa-check"></i>保存</button>
      	<button type="button"  class='btn' onclick="javascript:location.href='{:Url(\'admin/shops/\'.$src,\'p=\'.$p)}'"><i class="fa fa-angle-double-left"></i>返回</button>
      </td>
  </tr>
</table>
</fieldset>